package com.tc.validator;

import com.baidu.unbiz.fluentvalidator.annotation.FluentValidate;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.validation.groups.Default;


public class CmapCustomerMerchantBasicInfoVO {
    @NotNull(message = "CmapCustomerMerchantBasicInfoVO.id不能为null", groups = MerchantCreate.class)
    private String id;

    @NotBlank(message = "商户全称不能为空", groups = {MerchantCreate.class})
    @Size(max = 100, message = "商户全称长度不能大于{max}", groups = {MerchantCreate.class})
    @FluentValidate(value = CmapCustomerMerchantBasicInfoValidator.class, groups = {MerchantCreate.class})
    private String merchantChnName;


    public void setId(String id) {
        this.id = id;
    }

    public void setMerchantChnName(String merchantChnName) {
        this.merchantChnName = merchantChnName;
    }

    public String getId() {
        return id;
    }

    public String getMerchantChnName() {
        return merchantChnName;
    }
}
